<!--${_TPL.put('titles',('群组话题'))}-->
<!--$embed{"header.htm"}-->

<!--$if{ space['self']}-->
<div class="searchbar">
<form method="post" action="network.html">
	<input name="key" value="" size="26" class="t_input" type="text">
	<input name="searchsubmit" value="搜索话题" class="submit" type="submit">
	<input type="hidden" name="searchmode" value="1" />
	<!--$if{ view=='me'}-->
	<input type="hidden" name="username" value="${space['username']}" />
	<!--$end-->
	<input type="hidden" name="ac" value="thread" />
</form>
</div>
<h2 class="title"><img src="image/app/mtag.gif">群组 - 话题</h2>
<div class="tabs_header">
	<ul class="tabs">
		<li><a href="space.html?do=mtag"><span>我的群组</span></a></li>
		<li><a href="network.html?ac=mtag&view=hot"><span>热门群组</span></a></li>
		<li${actives['we']}><a href="space.html?uid=${space['uid']}&do=thread"><span>群组最新话题</span></a></li>
		<li${actives['me']}><a href="space.html?uid=${space['uid']}&do=thread&view=me"><span>我发起的话题</span></a></li>
		<li class="null"><a href="cp.html?ac=thread">发起新话题</a></li>
	</ul>
</div>
<!--$else-->
<!--${_TPL.put('spacetitle','话题')}-->
<!--$embed{"space_menu.htm"}-->
<!--$end-->

<div id="content">
	<!--$if{ list}-->
	<div class="topic_list">
		<table cellspacing="0" cellpadding="0">
			<thead>
				<tr>
					<td class="subject">[群组] 主题</td>
					<td class="author"><!--$if{ view!='me'}-->作者 <!--$end-->(回应/阅读)</td>
					<td class="lastpost">最后更新</td>
				</tr>
			</thead>
			<tbody>
			<!--$for{value:list}-->
				<tr<!--$if{ for.index%2==1}--> class="alt"<!--$end-->>
					<td class="subject">[<a href="space.html?do=mtag&tagid=${value['tagid']}">${value['tagname']}</a>] <a href="space.html?uid=${value['uid']}&do=thread&id=${value['tid']}">${value['subject']}</a></td>
					<td class="author"><!--$if{ view!='me'}--><a href="space.html?uid=${value['uid']}" title="${_SN[value['uid']]}">${_SN[value['uid']]}</a><br><!--$end--><em>${value['replynum']}/${value['viewnum']}</em></td>
					<td class="lastpost"><a href="space.html?uid=${value['lastauthorid']}" title="${_SN[value['lastauthorid']]}">${_SN[value['lastauthorid']]}</a><br><!--${&com.heaven.web.utils.Common.date('MM-dd HH:mm',value['lastpost'].toInteger,1)}--></td>
				</tr>
			<!--$end-->
			</tbody>
		</table>
		<div class="page">${multi}</div>
	</div>
	<!--$else-->
	<div class="c_form">还没有话题列表。</div>
	<!--$end-->
</div>


<div id="sidebar">
	<!--$if{ mtags}-->
	<div class="sidebox">
		<h2 class="title">更新的群组</h2>
		<table>
		<!--$for{entry:mtags}--> $set{value=entry.value}
		<tr>
			<td><div class="threadimg60"><a href="space.html?do=mtag&tagid=${value['tagid']}"><img src="${value['pic']}" style="width:60px;"></a></div></td>
			<td>
			<p><a href="space.html?do=mtag&tagid=${value['tagid']}">${value['tagname']}</a></p>
			<p><a href="space.html?do=mtag&id=${value['fieldid']}">${_SGLOBAL['profield'][value['fieldid']]['title']}</a></p>
			<p>${value['membernum']} 人参与</p>
			</td>
		</tr>
		<!--$end-->
		</table>
	</div>
	<!--$end-->
		
</div>
<!--/sidebar-->

<!--$embed{"footer.htm"}-->
